package lab2_prelab;


/**
 * <p>Title: FlyTest1</p>
 * <p>Description: CS 235 Lab #2</p>
 *         Example of use of the Airplane and Jet classes.
 *         This class has to be completed by you - fill in the
 *         blanks with the choices shown below so that when the 
 *         program runs, it produces the desired output.
 * @author This code is from "Head First Object Oriented Design"
 * @email  anthony.varghese@uwrf.edu
 * @date   August 8th 2013
 * @team   
 */
public class FlyTest1 {
	/**
	 * main method for FlyTest1 - this program prints out 
	 * various speeds for planes.
	 * @param args
	 */
	public static void main(String[] args) {
		/* Fill in the blanks with:
		    x = 0
		    212
		    boeing.getSpeed()
		    422
		    x<5
		    x<4
		    boeing.setSpeed
		    biplane.accelerate()
		    108
		    x++
		    424
		    boeing.accelerate()
		    x<3
		    biplane.setSpeed
		    int x = 0
		    biplane.getSpeed()
		    x--
		    x = 1
		*/
		Airplane biplane = new Airplane();
	    biplane.setSpeed(_____);
	    System.out.println(_________________);
	    Jet boeing = new Jet();
	    boeing.setSpeed(_____);
	    System.out.println(________________);
	    __________;
	    while (______) {
	      __________________;
	      System.out.println(__________________);
	      if (___________________ > 5000) {
	        ________________(__________________ * 2);
	      } else {
	        ___________________;
	      }
	      _______;
	    }
	    System.out.println(__________________);
	}
}
/*
 * Output desired is:
 * 212
 * 844
 * 1688
 * 6752
 * 13504
 * 27008
 * 1696
 */